package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDataPageReqDto;
import com.zzyl.vo.DeviceDataVo;

import java.time.LocalDateTime;


public interface DeviceDataService {
    /**
     *
     * @param dto
     * @return
     */
    PageResponse<DeviceDataVo> getDeviceDataPage(DeviceDataPageReqDto dto);

    /**
     * 定时任务
     * 删除一个月前的DeviceData
     * @param localDateTime
     */
    void deleteDeviceData(LocalDateTime localDateTime);

}
